package product.bean;

import java.util.Date;

/**
 * Created by Administrator on 2018/11/28.
 */
public class Product {
    private int id;
    private String productname;
    private double price;
    private String auther;
    private double discount;
    private int state;
    private String imgurl;
    private int information;
    private Date shlef_time;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getAuther() {
        return auther;
    }

    public void setAuther(String auther) {
        this.auther = auther;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }

    public int getInformation() {
        return information;
    }

    public void setInformation(int information) {
        this.information = information;
    }

    public Date getShlef_time() {
        return shlef_time;
    }

    public void setShlef_time(Date shlef_time) {
        this.shlef_time = shlef_time;
    }

    public Product() {

    }

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", productname='" + productname + '\'' +
                ", price=" + price +
                ", auther='" + auther + '\'' +
                ", discount=" + discount +
                ", state=" + state +
                ", imgurl='" + imgurl + '\'' +
                ", information=" + information +
                ", shlef_time=" + shlef_time +
                '}';
    }
}
